@import "./variables.scss";

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-width: $min-width;
}

#root {
  height: 100%;
  min-width: $min-width;
}

// 响应式处理
@media screen and (max-width: $min-width) {
  html {
    transform-origin: left top;
    transform: scale(calc(100vw / #{$min-width}));
    width: #{$min-width};
    height: calc(100vh * #{$min-width} / 100vw);
  }
}
